package com.zhixiang.core.web.listener;

import javax.servlet.ServletContextEvent;

import org.springframework.web.context.ContextLoaderListener;

import com.zhixiang.core.util.AppUtil;

public class StartupListener extends ContextLoaderListener
{
//  private static Log logger = LogFactory.getLog(StartupListener.class);

  public void contextInitialized(ServletContextEvent paramServletContextEvent) {
	//zyfang  
	//AppUtil.licCheck();
	
    super.contextInitialized(paramServletContextEvent);
    AppUtil.init(paramServletContextEvent.getServletContext());
    boolean bool = AppUtil.getIsSynMenu();
    if (bool){
        AppUtil.synMenu();
    }
  }
}

